package com.zhuliwei.templates;

/**
 * 邮箱html模板
 *
 * @author 朱力维
 * @since 2022-10-18 10:30:24
 */
public class EmailTemplate {
    /**
     * 验证码模板
     */
    public static final String VALIDATE_CODE_TEMPLATE = "<!DOCTYPE html>\n" +
            "<html lang='en'>\n" +
            "  <head>\n" +
            "    <meta charset='UTF-8' />\n" +
            "    <meta name='viewport' content='width=device-width, initial-scale=1.0' />\n" +
            "    <title>【ZLWBlog】验证您的邮箱账户</title>\n" +
            "  </head>\n" +
            "  <body>\n" +
            "    <h2 style='text-align: center;'>验证您的邮箱账户</h2>\n" +
            "    <p style='text-indent: 2em;'>hi~</p>\n" +
            "    <p style='text-indent: 2em;'>\n" +
            "      您本次操作的使用的邮箱为： $EMAIL$ ，为验证此电子邮箱属于你，请在操作界面输入下方6位验证码\n" +
            "    </p>\n" +
            "    <h1 style='color: #1890ff; text-align: center;'>\n" +
            "      $CODE$\n" +
            "    </h1>\n" +
            "    <p style='text-indent: 2em;'>此验证码将于5分钟后失效，请您尽快完成验证。</p>\n" +
            "  </body>\n" +
            "</html>";
    /**
     * 注册成功模板
     */
    public static final String REGISTER_SUCCESS = "<!DOCTYPE html>\n" +
            "<html lang=\"en\">\n" +
            " \n" +
            "<head>\n" +
            "    <meta charset=\"UTF-8\">\n" +
            "    <title>注册成功</title>\n" +
            "    <style type=\"text/css\">\n" +
            "        * {\n" +
            "            margin: 0;\n" +
            "            padding: 0;\n" +
            "            box-sizing: border-box;\n" +
            "            font-family: Arial, Helvetica, sans-serif;\n" +
            "        }\n" +
            " \n" +
            "        body {\n" +
            "            background-color: #ECECEC;\n" +
            "        }\n" +
            " \n" +
            "        .container {\n" +
            "            width: 800px;\n" +
            "            margin: 50px auto;\n" +
            "        }\n" +
            " \n" +
            "        .header {\n" +
            "            height: 80px;\n" +
            "            background-color: #49bcff;\n" +
            "            border-top-left-radius: 5px;\n" +
            "            border-top-right-radius: 5px;\n" +
            "            padding-left: 30px;\n" +
            "        }\n" +
            " \n" +
            "        .header h2 {\n" +
            "            padding-top: 25px;\n" +
            "            color: white;\n" +
            "        }\n" +
            " \n" +
            "        .content {\n" +
            "            background-color: #fff;\n" +
            "            padding-left: 30px;\n" +
            "            padding-bottom: 30px;\n" +
            "            border-bottom: 1px solid #ccc;\n" +
            "        }\n" +
            " \n" +
            "        .content h2 {\n" +
            "            padding-top: 20px;\n" +
            "            padding-bottom: 20px;\n" +
            "        }\n" +
            " \n" +
            "        .content p {\n" +
            "            padding-top: 10px;\n" +
            "        }\n" +
            " \n" +
            "        .footer {\n" +
            "            background-color: #fff;\n" +
            "            border-bottom-left-radius: 5px;\n" +
            "            border-bottom-right-radius: 5px;\n" +
            "            padding: 35px;\n" +
            "        }\n" +
            " \n" +
            "        .footer p {\n" +
            "            color: #747474;\n" +
            "            padding-top: 10px;\n" +
            "        }\n" +
            "    </style>\n" +
            "</head>\n" +
            " \n" +
            "<body>\n" +
            "<div class=\"container\">\n" +
            "    <div class=\"header\">\n" +
            "        <h1>欢迎加入我的博客!</h1>\n" +
            "    </div>\n" +
            "    <div class=\"content\">\n" +
            "        <h2>亲爱的$NICKNAME$,您好!</h2>\n" +
            "        <p>您的邮箱：<b>$EMAIL$</b></p>\n" +
            "        <p>您注册时的日期：<b>$DATETIME$</b></p>\n" +
            "        <p></p>\n" +
            "        <p>您已成功注册为ZLWBlog的用户，您已可以使用本站的所有功能</p>\n" +
            "        <p>当您在使用本网站时，务必要遵守法律法规</p>\n" +
            "        <p>如果您有什么疑问可以联系我，QQ/VX: <b>499152654</b></p>\n" +
            "    </div>\n" +
            "    <div class=\"footer\">\n" +
            "        <p>此为系统邮件，请勿回复</p>\n" +
            "        <p>请保管好您的信息，避免被他人盗用</p>\n" +
            "        <p>©ZLWBlog</p>\n" +
            "    </div>\n" +
            "</div>\n" +
            "</body>\n" +
            "</html>";
}
